﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using System.Data.Linq;
using System.Configuration;
using Kronos.Classes;
using Kronos.DatabaseModels;
using System.Drawing;
using Kronos.Webservices;


namespace Kronos.Classes
{
    public class UserInformation
    {

        public static string UsernameThatIsLoggedIn;
        public static Label usernameMessage;

      public UserInformation(Label msg)
        {
            UsernameThatIsLoggedIn = null;
            usernameMessage = new Label();
            usernameMessage = msg;
            usernameMessage.Text = "Hello, You're not logged In";

        }


      public void WelcomeMessage(string s)
      {
          if (s == null)
              usernameMessage.Text = "Hello, You are not loggedin";
          else
          usernameMessage.Text = "Hello " + s;
      }

    }
}